Class VLANImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.VLANImpl
All Implemented Interfaces:
IPCObject, VLAN

public class VLANImpl extends IPCObjectImpl implements VLAN
Information provided by the PKI file:

    \class Vlan
    
    \brief Vlan handles and manipulates the individual VLAN.
    
    \example network().getDevice("Switch0").getProcess("VlanManager").getVlanAt(0)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Information provided by the PKI file:
      
          \brief Returns the name of this VLAN.
          
          \return string, the name of this VLAN.
          
              
      Specified by:
      getName in interface VLAN
      Returns:
      String Returns a String
    • getMacTable

      public MACTable getMacTable()
      Information provided by the PKI file:
      
          \brief Returns the MAC address table.
          
          \return MacTable, the MacTable object.
          
              
      Specified by:
      getMacTable in interface VLAN
      Returns:
      MACTable Returns a MACTable
    • isDefault

      public boolean isDefault()
      Information provided by the PKI file:
      
          \brief Returns true if this is the default VLAN, otherwise false.
          
          \return bool, true if this is the default VLAN, otherwise false.
          
              
      Specified by:
      isDefault in interface VLAN
      Returns:
      boolean Returns a boolean
    • getVlanNumber

      public int getVlanNumber()
      Information provided by the PKI file:
      
          \brief Returns the VLAN number of this VLAN.
          
          \return int, the VLAN number of this VLAN.
          
              
      Specified by:
      getVlanNumber in interface VLAN
      Returns:
      int Returns a int